package com.egoo.ticket.server.pojo.entity;

import com.alibaba.fastjson.JSONObject;
import com.egoo.ticket.server.pojo.vo.TableHeadFieldVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.sql.Timestamp;
import java.util.List;

/**
 * 过滤器菜单
 * @author Administrator
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class WorkOrderFilterMenu {
	private  Integer id;
	private  String name;
	private  String menuDesc;
	private  Long workOrderTypeId;
	private  String  workOrderTypeName;
	/**
	 * /1为"启用状态"，0为"停用"
	 */
	private  Integer status;
	/**
	 * /1为"系统内置"，0为“自定义”
	 */
	private  Integer tagId;
	private  String tagName;
	private  Integer ordering;
	private  Timestamp createTime;
	private  String createUserId;
	private  String createUserName;
	private  String lastUserId;
	private  String lastUserName;
	private  Timestamp lastUpdateTime;
	private JSONObject filterCondition;
	/**
	 * /过滤器菜单可见范围类型（all全部dept部门role角色user用户）
	 */
	private  String filterMenuVisibleType;
	/**
	 * /过滤器菜单可见范围id
	 */
	private  String filterMenuVisibleIds;
	/**
	 * /过滤器菜单可见范围类型（all全部dept部门role角色user用户）
	 */
	private  String filterMenuDataType;
	/**
	 * /过滤器菜单可见范围id
	 */
	private  String filterMenuDataTypeIds;
	/**
	 * /过滤器菜单可见范围name(展示所用)
	 */
	private  String filterMenuVisibleNames;

	/**
	 * 租户id
	 */
	private String tenantId;

	private Integer primaryId;

	private List<TableHeadFieldVo> fieldInfoList;
}
